import { ParamsObjType as _ParamsObjType } from "@/library/common/types"

export type _UseAllType = {
    Enable: boolean
    Interval: number
    TimeUnit: string
    ServerName: string
}

export type DataType = {
    SyncServerConfig: {
        SyncConsumeOrderStat: Omit<_UseAllType, "ServerName">
    }
}

/**
 * 获取下拉参数
 */
export type ParamsType = {
    AsyncTaskTimeUnit: _ParamsObjType[]
}

export type SetConfigType = Omit<_UseAllType, "">